package com.youkeyi.ddy.cloud.common.api.application.system.tag;

import com.youkeyi.ddy.cloud.common.api.application.system.tag.dto.SystemTagListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.tag.dto.SystemTagQueryBindListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.tag.param.*;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * SystemTagCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/system/tag/fallback")
public class SystemTagCloudServiceFallback implements SystemTagCloudService {

    @Override
    public SystemTagListCloudDto list(SystemTagListCloudParam param) {
        return new SystemTagListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(SystemTagCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(SystemTagUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(SystemTagDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent bind(SystemTagBindCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent unbind(SystemTagUnbindCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public SystemTagQueryBindListCloudDto queryBind(SystemTagQueryBindCloudParam param) {
        return new SystemTagQueryBindListCloudDto(Boolean.FALSE, "服务不可用");
    }
}
